Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: minimap and full screen map (disabled by default) #147

Merged
merged 308 commits into from
Nov 27, 2024

Conversation

gguio
Copy link

@gguio gguio commented Jun 13, 2024

fixes #64

LAST GREENFIELD DEMO
LAST SINGLEPLAYER DEMO

  • add warp window changes & quick to
  • render current player pos on map
  • Render all chunks in single player worlds with all perf optimisations

Copy link

codesandbox bot commented Jun 13, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@zardoy zardoy changed the title minimap feat: minimap and full screen map Jun 13, 2024
@zardoy
Copy link
Owner

zardoy commented Jun 15, 2024

/deploy

Copy link

Deployed to Vercel Preview: https://prismarine-munvyndsd-zaro.vercel.app
Playground
Storybook

@zardoy
Copy link
Owner

zardoy commented Jul 1, 2024

/deploy

Copy link

github-actions bot commented Jul 1, 2024

Deployed to Vercel Preview: https://prismarine-h9hbuen42-zaro.vercel.app
Playground
Storybook

@zardoy
Copy link
Owner

zardoy commented Jul 7, 2024

/deploy

Copy link

github-actions bot commented Jul 7, 2024

Deployed to Vercel Preview: https://prismarine-lhufpezj2-zaro.vercel.app
Playground
Storybook

@zardoy
Copy link
Owner

zardoy commented Jul 10, 2024

/deploy

Copy link

Deployed to Vercel Preview: https://prismarine-leznyvzk8-zaro.vercel.app
Playground
Storybook

@Phoenix616
Copy link

This looks pretty cool, is there a way to pre-configure whether its enabled or not? (e.g. via a get parameter in the URL) I took a look at the code and didn't find anything in that direction.

@zardoy
Copy link
Owner

zardoy commented Nov 25, 2024

This looks pretty cool, is there a way to pre-configure whether its enabled or not? (e.g. via a get parameter in the URL) I took a look at the code and didn't find anything in that direction.

@Phoenix616 Yes, its possible to configure almost every aspect of the application via parameters in the URL. Remember that you can change the setting of the application in that way: ?setting=<setting_name>:<setting_value>. So there is an example link with minimap disabled: https://minimap.mcraft.fun/?mapDir=https%3A%2F%2Fbucket.mcraft.fun%2FGreenfield+v0.5.1%2Fmap-index.json&setting=showMinimap:%22never%22 (&setting=showMinimap:"never")

@gguio

@zardoy
Copy link
Owner

zardoy commented Nov 26, 2024

disabled minimap by default because of some issues on some platforms & singleplayer maps.

@Phoenix616 would you be interested to test it? the link is minimap.mcraft.fun (just set minimap setting to always)

@zardoy
Copy link
Owner

zardoy commented Nov 26, 2024

/deploy

Copy link

Deployed to Vercel Preview: https://prismarine-7uhi1mddu-zaro.vercel.app
Playground
Storybook

@zardoy zardoy changed the title feat: minimap and full screen map feat: minimap and full screen map (disabled by default) Nov 27, 2024
@zardoy zardoy merged commit af088d9 into zardoy:next Nov 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Game UI] Minimap + Full-Screen Map
3 participants